#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    ui->comboBox->addItem("双层吉士");
    ui->comboBox->addItem("麦拉鸡腿");
    ui->comboBox->addItem("板烧鸡腿");

    ui->comboBox_2->addItem("薯条");
    ui->comboBox_2->addItem("鸡块");

    ui->comboBox_3->addItem("可乐");
    ui->comboBox_3->addItem("雪碧");

    ui->spinBox->setValue(1);
    ui->spinBox->setRange(1,10);

    ui->spinBox_2->setValue(1);
    ui->spinBox_2->setRange(1,10);

    ui->spinBox_3->setValue(1);
    ui->spinBox_3->setRange(1,10);
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_pushButton_clicked()
{

}
